package com.appcenter.application.model;


import tk.mybatis.mapper.annotation.NameStyle;
import tk.mybatis.mapper.code.Style;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@NameStyle(Style.normal)
@Table(name="orgusers")
@Entity
public class OrgUsers {
    @javax.persistence.Id
    private String id;
    public String getId(){return this.id;}
    public void setId(String id){this.id=id;}

    private String orgId;
    public String getOrgId(){return this.orgId;}
    public void setOrgId(String orgId){this.orgId=orgId;}

    private String userId;
    public String getUserId(){return this.userId;}
    public void setUserId(String userId){this.userId=userId;}

    private String orgCodePath;
    public String getOrgCodePath(){return this.orgCodePath;}
    public void setOrgCodePath(String orgCodePath){this.orgCodePath=orgCodePath;}

    private String userCode;
    public String getUserCode(){return this.userCode;}
    public void setUserCode(String userCode){this.userCode=userCode;}

    private String appCode;
    public String getAppCode(){return this.appCode;}
    public void setAppCode(String appCode){this.appCode=appCode;}


    private Date createTime;
    private String createUserId;
    private Boolean validStatus;


    private Long versionNo;

    public Long getVersionNo() {
        return versionNo;
    }

    public void setVersionNo(Long versionNo) {
        this.versionNo = versionNo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public Boolean getValidStatus() {
        return validStatus;
    }

    public void setValidStatus(Boolean validStatus) {
        this.validStatus = validStatus;
    }
}
